package com.chengh.vhr.mapper;

import com.chengh.vhr.model.HrRole;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface HrRoleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(HrRole record);

    int insertSelective(HrRole record);

    HrRole selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HrRole record);

    int updateByPrimaryKey(HrRole record);

    int deleteHrRoleByHrid(int hrId);

    int insertHrRoleByHrid(@Param("hrId") int hrId, @Param("roleIds") List<Integer> roleIds);

}